package org.dreamwork.jasmine2.sample.converter;

/**
 * Created by IntelliJ IDEA.
 * User: seth.yang
 * Date: 11-8-4
 * Time: 下午4:54
 */
public class Class2 {
    private int id;
    private short type;
    private double qty;
    private boolean flag;

    public boolean isFlag () {
        return flag;
    }

    public void setFlag (boolean flag) {
        this.flag = flag;
    }

    public int getId () {
        return id;
    }

    public void setId (int id) {
        this.id = id;
    }

    public double getQty () {
        return qty;
    }

    public void setQty (double qty) {
        this.qty = qty;
    }

    public short getType () {
        return type;
    }

    public void setType (short type) {
        this.type = type;
    }

    @Override
    public String toString () {
        return "Class2{" +
                "flag=" + flag +
                ", id=" + id +
                ", qty=" + qty +
                ", type=" + type +
                '}';
    }
}
